From e7009432b2c9b8f6d18b082e40a2472acea053c5 Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Thu, 13 Mar 2008 00:38:11 +0000 Subject: [PATCH] Remove debug printfs from populate_completion_store() Signed-off-by: Federico Mena Quintero svn path=/trunk/; revision=19827 --- gtk/gtkfilechooserentry.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index a8948393d0..03397c3f51 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -750,10 +750,7 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry) printf ("Populating completion store\n"); if (!gtk_file_folder_list_children (chooser_entry->current_folder, &paths, NULL)) /* NULL-GError */ - { - printf ("No children in the folder! Leaving an empty completion store.\n"); - return; - } + return; discard_completion_store (chooser_entry); @@ -768,8 +765,6 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry) path = tmp_list->data; - printf ("Getting info for %s\n", (char *) path); - info = gtk_file_folder_get_info (chooser_entry->current_folder, path, NULL); /* NULL-GError */ @@ -786,8 +781,6 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry) PATH_COLUMN, path, -1); - printf ("Completion store += \"%s\"\n", display_name); - gtk_file_info_free (info); g_free (display_name); } @@ -800,8 +793,6 @@ populate_completion_store (GtkFileChooserEntry *chooser_entry) gtk_entry_completion_set_model (gtk_entry_get_completion (GTK_ENTRY (chooser_entry)), GTK_TREE_MODEL (chooser_entry->completion_store)); - - printf ("Finished populating completion store\n"); } /* When we finish loading the current folder, this function should get called to -- 2.30.2